const express =require('express')
const app = express()

const rootRouter=require('./router')
app.use('/api',rootRouter)

app.listen(2020,()=>{
    console.log('server is running at port 2020')
})